<?php

/* index.html */
class __TwigTemplate_81e9fe3aa633667d8dceccee23b25f79d947b84a5272552b93d52646a28c22a8 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 2
        $this->parent = $this->loadTemplate("layout.html", "index.html", 2);
        $this->blocks = array(
            'head' => array($this, 'block_head'),
            'title' => array($this, 'block_title'),
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "layout.html";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 4
    public function block_head($context, array $blocks = array())
    {
        // line 5
        echo "<title>";
        $this->displayBlock('title', $context, $blocks);
        echo "</title>
<style type=\"text/css\">
    .important { color: #336699; }
</style>
";
    }

    public function block_title($context, array $blocks = array())
    {
        echo "首页";
    }

    // line 11
    public function block_content($context, array $blocks = array())
    {
        // line 12
        echo "<table>
    <thead>
    <tr>
        <th>标题</th>
        <th>内容</th>
        <th>时间</th>
    </tr>
    </thead>
    <tbody>
    ";
        // line 21
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["list"]) ? $context["list"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
            // line 22
            echo "    <tr>
        <th>";
            // line 23
            echo twig_escape_filter($this->env, $this->getAttribute($context["l"], "title", array()));
            echo "</th>
        <th>";
            // line 24
            echo twig_escape_filter($this->env, $this->getAttribute($context["l"], "content", array()));
            echo "</th>
        <th>";
            // line 25
            echo twig_escape_filter($this->env, $this->getAttribute($context["l"], "timestamp", array()));
            echo "</th>
    </tr>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 28
        echo "
    </tbody>
</table>
";
    }

    public function getTemplateName()
    {
        return "index.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  86 => 28,  77 => 25,  73 => 24,  69 => 23,  66 => 22,  62 => 21,  51 => 12,  48 => 11,  33 => 5,  30 => 4,  11 => 2,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("
{% extends \"layout.html\" %}

{% block head %}
<title>{% block title %}首页{% endblock %}</title>
<style type=\"text/css\">
    .important { color: #336699; }
</style>
{% endblock %}

{% block content %}
<table>
    <thead>
    <tr>
        <th>标题</th>
        <th>内容</th>
        <th>时间</th>
    </tr>
    </thead>
    <tbody>
    {% for l in list %}
    <tr>
        <th>{{ l.title|e}}</th>
        <th>{{ l.content|e}}</th>
        <th>{{ l.timestamp|e}}</th>
    </tr>
    {% endfor %}

    </tbody>
</table>
{% endblock %}

", "index.html", "D:\\phpStudy\\WWW\\learn\\my_frame\\app\\views\\index.html");
    }
}
